<div class="container-fluid form-horizontal">
    <div class="col-xs-12 col-md-12 mt10">
        <div class="form-group">
            <label class="col-sm-2 col-xs-12 control-label">预定范围</label>
            <div class="col-sm-4 col-xs-12">
                <div class="col-xs-5" style="padding-left: 0px;">
                    <input type="number" 
                        class="form-control" 
                        ng-model="hotelobj.hotel_predetermined_range_start" 
                        min="0" 
                        maxlength="2" 
                        minlength="1" 
                        required="required" />
                </div>
                <div class="col-xs-1 mt10" style="padding-left: 0px;">至</div>
                <div class="col-xs-5" style="padding-left: 0px;">
                    <input type="number" 
                        class="form-control" 
                        ng-model="hotelobj.hotel_predetermined_range_end" 
                        min="0" 
                        maxlength="2" 
                        minlength="1" 
                        required="required" />
                </div>
            </div>
            <div class="col-sm-6 mt10">
                <font face="Courier" class="text-danger">预定范围</font>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 col-xs-12 control-label">入住天数</label>
            <div class="col-sm-4 col-xs-12">
                <div class="col-xs-5" style="padding-left: 0px;">
                    <input type="number" 
                        class="form-control" 
                        ng-model="hotelobj.hotel_check_in_start" 
                        min="0" 
                        maxlength="2" 
                        minlength="1" 
                        placeholder="最少天数"
                        required="required" />
                </div>
                <div class="col-xs-1 mt10" style="padding-left: 0px;">至</div>
                <div class="col-xs-5" style="padding-left: 0px;">
                    <input type="number" 
                        class="form-control" 
                        ng-model="hotelobj.hotel_check_in_end" 
                        min="0" 
                        maxlength="2" 
                        minlength="1" 
                        placeholder="最多天数"
                        required="required" />
                </div>
            </div>
            <div class="col-sm-6 mt10">
                <font face="Courier" class="text-danger">入住天数</font>
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-2 col-xs-12 control-label">早餐情况</label>
            <div class="col-sm-4 col-xs-12">
                <label class="radio-inline">
                    <input type="radio" name="breakfast" ng-value="'1'" ng-model="hotelobj.hotel_breakfast" 
                    > 有
                </label>
                <label class="radio-inline">
                    <input type="radio" name="breakfast" ng-value="'0'" ng-model="hotelobj.hotel_breakfast" 
                    > 无
                </label>
            </div>
            <div class="col-sm-6 col-xs-12">
                <p class="form-control-static text-danger">
                </p>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 col-xs-12 control-label">预定时间</label>
            <div class="col-sm-4 col-xs-12">
                <div class="col-xs-3" style="padding-left: 0px;">
                    <input type="number" 
                        class="form-control" 
                        ng-model="hotelobj.hotel_booking_time_day" 
                        min="0" 
                        maxlength="2" 
                        minlength="1" 
                        placeholder="天"
                        required="required" />
                </div>
                <div class="col-xs-1 mt10" style="padding-left: 0px;padding-right:2px;">天</div>
                <div class="col-xs-3" style="padding-left: 0px;">
                    <input type="number" 
                        class="form-control" 
                        ng-model="hotelobj.hotel_booking_time_hour" 
                        max="23"
                        min="0" 
                        maxlength="2" 
                        minlength="1" 
                        placeholder="时"
                        required="required" />
                </div>
                <div class="col-xs-1 mt10" style="padding-left: 0px;padding-right:2px;">点</div>
                <div class="col-xs-3" style="padding-left: 0px;">
                    <input type="number" 
                        class="form-control" 
                        ng-model="hotelobj.hotel_booking_time_minute" 
                        max="59"
                        min="0" 
                        maxlength="2" 
                        minlength="1" 
                        placeholder="分"
                        required="required" />
                </div>
                <div class="col-xs-1 mt10" style="padding-left: 0px;padding-right:2px;">分</div>
            </div>
            <div class="col-sm-6 mt10">
                <font face="Courier" class="text-danger">需提前预定天数 </font>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 col-xs-12 control-label">无损取消</label>
            <div class="col-sm-4 col-xs-12">
                <div class="col-xs-3" style="padding-left: 0px;">
                    <input type="number" 
                        class="form-control" 
                        ng-model="hotelobj.hotel_latest_cancellation_day" 
                        min="0" 
                        maxlength="2" 
                        minlength="1" 
                        placeholder="天"
                        required="required" />
                </div>
                <div class="col-xs-1 mt10" style="padding-left: 0px;padding-right:2px;">天</div>
                <div class="col-xs-3" style="padding-left: 0px;">
                    <input type="number" 
                        class="form-control" 
                        ng-model="hotelobj.hotel_latest_cancellation_hour" 
                        max="23"
                        min="0" 
                        maxlength="2" 
                        minlength="1" 
                        placeholder="时"
                        required="required" />
                </div>
                <div class="col-xs-1 mt10" style="padding-left: 0px;padding-right:2px;">点</div>
                <div class="col-xs-3" style="padding-left: 0px;">
                    <input type="number" 
                        class="form-control" 
                        ng-model="hotelobj.hotel_latest_cancellation_minute" 
                        max="59"
                        min="0" 
                        maxlength="2" 
                        minlength="1" 
                        placeholder="分"
                        required="required" />
                </div>
                <div class="col-xs-1 mt10" style="padding-left: 0px;padding-right:2px;">分</div>
            </div>
            <div class="col-sm-6 mt10">
                <font face="Courier" class="text-danger">无损取消时间</font>
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-2 col-xs-12 control-label">扣款类型</label>
            <div class="col-sm-4 col-xs-12">
                <div class="col-xs-5" style="padding-left: 0px;">
                    <select class="form-control" ng-model="hotelobj.hotel_debit_type">
                        <option ng-value="'0'">全额</option>
                        <option ng-value="'1'">否</option>
                        <option ng-value="'2'">固定金额</option>
                        <option ng-value="'3'">百分比</option>
                    </select>
                </div>
                <div class="col-xs-6">
                    <input type="text" 
                        class="form-control" 
                        ng-model="hotelobj.hotel_debit_info" 
                        ng-disabled="hotelobj.hotel_debit_type != '2' && hotelobj.hotel_debit_type != '3'" />
                </div>
            </div>
            <div class="col-sm-6 mt10">
                <font face="Courier" class="text-danger">
                </font>
            </div>
        </div>

        <!-- <div class="form-group">
            <label class="col-sm-2 col-xs-12 control-label">支付方式</label>
            <div class="col-sm-4 col-xs-12">
                <label class="radio-inline">
                    <input type="radio" ng-value="'0'" ng-model="hotelobj.hotel_pay_state" name="paytype">担保支付
                </label>
                <label class="radio-inline">
                    <input type="radio" ng-value="'1'" ng-model="hotelobj.hotel_pay_state" name="paytype">全款支付
                </label>
            </div>
            <div class="col-sm-6 mt10">
                <font face="Courier" class="text-danger">
                </font>
            </div>
        </div> -->

        <div class="form-group">
            <label class="col-sm-2 col-xs-12 control-label">退款方式</label>
            <div class="col-sm-4 col-xs-12">
                <label class="radio-inline">
                    <input type="radio" ng-value="'0'" ng-model="hotelobj.hotel_back_state" name="backtype">限时退
                </label>
                <label class="radio-inline">
                    <input type="radio" ng-value="'1'" ng-model="hotelobj.hotel_back_state" name="backtype">不可退
                </label>
            </div>
            <div class="col-sm-6 mt10">
                <font face="Courier" class="text-danger">
                </font>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 col-xs-12 control-label">供应商确认</label>
            <div class="col-sm-4 col-xs-12">
                <label class="radio-inline">
                    <input type="radio" ng-value="'0'" ng-model="hotelobj.hotel_confirm" name="confirm">需要
                </label>
                <label class="radio-inline">
                    <input type="radio" ng-value="'1'" ng-model="hotelobj.hotel_confirm" name="confirm">不需要
                </label>
            </div>
            <div class="col-sm-6 mt10">
                <font face="Courier" class="text-danger">
                    用户下单后供应商是否确认
                </font>
            </div>
        </div>
        
        <div class="form-group" ng-if="util.what == 'edit'">
            <label class="col-sm-2 col-xs-12 control-label"></label>
            <div class="col-sm-4 col-xs-12 text-center">
                <button type="button" 
                    class="btn btn-primary btn-lg btn-block" 
                    ng-click="save()" 
                    ng-if="saleobj.id == '' || util.$modalInstance == undefined"
                    >保存
                </button>
                <button type="button" 
                    class="btn btn-primary btn-lg" 
                    ng-click="save()" 
                    ng-if="(saleobj.id != '') && (util.$modalInstance != undefined)"
                    >保&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;存
                </button>
                <button type="button" 
                    class="btn btn-primary btn-lg" 
                    ng-click="saveAndBack()" 
                    ng-if="(saleobj.id != '') && (util.$modalInstance != undefined)"
                    >保存并返回
                </button>
            </div>
            <div class="col-sm-4">
            </div>
        </div>
    </div>
</div>